<div class="card home-card">
	<div class="item item-icon-left home-card-header">
		<ion-header-bar class="bar-secondary">
         <i class="icon ion-android-textsms icon-aeai-card assertive"><h2>最新消息</h2></i>
          <h1 class="title"></h1>
          <button class="button button-light ion-more" ng-click="showPopoverSetting($event,'${widgetCode}')"></button>
        </ion-header-bar>
	</div>
        <div class="tabs tabs-striped tabs-top tabs-color home-card-tabs" ng-init="initTabs(['ddd','eee'])" >
          <a class="tab-item" ng-class="{active:activeTab=='ddd'}" ng-click="setActiveTab('ddd')" href="" >
			收信
          </a>
          <a class="tab-item" ng-class="{active:activeTab=='eee'}" ng-click="setActiveTab('eee')" href="" >
           	发信
          </a>
        </div>
        <div class="list item home-item home-card-bottom home-card-list" on-swipe-left="onSwipeLeft()" on-swipe-right="onSwipeRight()">
          <a class="item" ng-hide="true"></a>
		  <a class="item item-icon-right home-list-item home-card-item home-card-list-font" ng-show="activeTab=='ddd' && receiveNoRecord">无记录</a>
		  <a class="item item-icon-right home-list-item home-card-item home-card-list-font" ng-repeat="x in receiveMessages"  ng-show="activeTab=='ddd'" href="#" ng-click="openModal('{{x.id}}','{{x.title}}','receive')" >{{x.title}}<span class="icon home-card-list-font">{{x.createTime}}</span></a>
          
          <a class="item item-icon-right home-list-item home-card-item home-card-list-font" ng-show="activeTab=='eee' && sendNoRecord">无记录</a>
          <a class="item item-icon-right home-list-item home-card-item home-card-list-font" ng-repeat="x in sendMessages"  ng-show="activeTab=='eee'" href="#" ng-click="openModal('{{x.id}}','{{x.title}}','send')" >{{x.title}}<span class="icon home-card-list-font">{{x.createTime}}</span></a>
          <a class="item" ng-hide="true"></a>
        </div>
		<div class="button-bar button-outline button-stable home-card-more">
			<a href="" class="button button-light msg-button home-card-list-font" ng-click="openSendModal()">发消息</a>
			<a href="#/tab/msg-list" class="button button-light home-card-list-font">更多消息</a>
		</div>   
</div>
 